<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div>
            <h2>列表</h2>
            <table>
                <tr>
                    <th>姓名</th>
                    <th>学号</th>
                    <th>成绩</th>
                </tr>
                <?php  foreach($lists as $key=>$value){?>
                <tr>
                    <td><?php print $value['name'];?></td>
                    <td><?php print $value['number'];?></td>   
                    <td><?php print $value['body'];?></td>   
                </tr>
                <?php }?>  
            </table>
           
                
        </div>
    </body>
</html>